package com.zzuli.fitness.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.fitness.entity.SysNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysNoticeDao extends BaseMapper<SysNotice> {
    int deleteByPrimaryKey(Integer noticeId);

    int insert(SysNotice record);

    int insertSelective(SysNotice record);

    SysNotice selectByPrimaryKey(Integer noticeId);

    int updateByPrimaryKeySelective(SysNotice record);

    int updateByPrimaryKeyWithBLOBs(SysNotice record);

    int updateByPrimaryKey(SysNotice record);

    List<SysNotice> selectAllNews();
}